package com.fang;

public class ArithMeticTest {
    public static void main(String[] args) {
        int i = 10;
        double j = i / 0.0;
        System.out.println(j);// Infinity: 无穷大

        double a = 0.0;
        double b = a / 0.0;
        System.out.println(b);// NaN:not a number
    }
}
